﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace FlowCard.PrintCard.Models
{
    public class ConstConfig1 
    {
        private static string currentDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);

        internal static string PrintTemppdf = Path.Combine(currentDirectory, "FlowCardFile", "PrintTemppdf.xlsx"); 
        internal static string PrintTempexcel = Path.Combine(currentDirectory, "FlowCardFile", "PrintTempexcel.xlsx");
        internal static string PrintTemppdftwo = Path.Combine(currentDirectory, "FlowCardFile", "PrintTemppdftwo.xlsx");
        internal static string PrintTempexceltwo = Path.Combine(currentDirectory, "FlowCardFile", "PrintTempexceltwo.xlsx");
        internal static string pathpdf = Path.Combine(currentDirectory, "FlowCardFile", "TempMESexcelpdf\\");
        internal static string pathexcel = Path.Combine(currentDirectory, "FlowCardFile", "TempMESexcelexcel\\");
        internal static string pathpdftwo = Path.Combine(currentDirectory, "FlowCardFile", "TempMESexcelpdftwo\\");
        internal static string pathexceltwo = Path.Combine(currentDirectory, "FlowCardFile", "TempMESexceltwo\\");
        internal static string imagePath = Path.Combine(currentDirectory, "FlowCardFile", "ImageTemplate.png");
    }


    public class ConstConfig
    {
        public string PrintTempPdf {  get; set; }
        public string PrintTempExcel { get; set; }
        public string PrintTempPdfTwo { get; set; }
        public string PrintTempExcelTwo { get; set; }
        public string PathPdf { get; set; }
        public string PathExcel { get; set; }
        public string PathPdfTwo { get; set; }
        public string PathExcelTwo { get; set; }
        public string ImagePath { get; set; }
    }
}
